/*
 * @Description:
 * @Version: 2.0
 * @Autor: zhangjx
 * @Date: 2023-05-23 11:06:40
 * @LastEditors: uphldjx 1373577124@qq.com
 * @LastEditTime: 2024-06-21 10:20:02
 */
import './styles/scss/index.scss'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'

import './router/permission'
if (import.meta.env.MODE == 'development') {
	import('element-plus/dist/index.css')
} else {
	import('element-plus/theme-chalk/src/message.scss')
	import('element-plus/theme-chalk/src/message-box.scss')
	import('element-plus/theme-chalk/src/notification.scss')
	import('element-plus/theme-chalk/src/loading.scss')
}

// import 'element-plus/theme-chalk/src/message.scss'
// import 'element-plus/theme-chalk/src/message-box.scss'
// import 'element-plus/theme-chalk/src/notification.scss'
// import 'element-plus/theme-chalk/src/loading.scss'
import directive from '@/directive/index'
// import '@/utils/rem'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(directive)

app.mount('#app')
